package com.yhgm.constant;

public interface Constant {
    Integer OK_CODE=200;
    Integer ERROR_CODE=500;


    //other sys
    String proBiologyImagePath="E:/flash/";
    String SERVE_URL="http://localhost:7888";
    String FILE_URL_PREFIX="http://localhost:7888/file/getFile?path=";
    //String proBiologyImagePath="/usr/local/media/image/";
//    String SERVE_URL="http://8.136.8.93:7888";
//    String FILE_URL_PREFIX="http://8.136.8.93:7888/file/getFile?path=";
    String normal="0";
    String admin="1";
    String DEFAULT_PASSWORD="000000";
    //String devBiologyImagePath="E:/flash/";
    String EXCEL_PATH="excel/";
    String SQL_BACKUPS_PATH="sql/";
    long v1024=1024;
    long squ1024=1024*1024;
    Integer TOKEN_ERROR_CODE=600;
    String GET_FILE_URL="/file/getFile?path=";
    String AdminAuthority="1";
    String GathererAuthority="0";
    Long WEI_JIAN_BIE=1L;
    Long SHOOT_TIME_LOSE=9L;
    Long WEI_JIAN_YI_SHANG_CHUAN=1L;
    String IMAGE_TYPE="jpeg jfif png";
    String VIDEO_TYPE="mp4";
    Long COLLECT_INTERVAL=30L;
    Integer WEBSOCKET_FILE=1001;
    Integer WEBSOCKET_ONE_NET=1002;
    Integer WEBSOCKET_AI=1003;
    Integer WEBSOCKET_PYTHON_SERVER=1004;
    String FILE_TYPE_IMAGE="图片";
    String FILE_TYPE_VIDEO="视频";
    //String OFFICE_TYPE="docxxlsxpptxpdf";
    String FFMPEG_PATH="D:/software/ffmpeg/bin/ffprobe";
    String FFMPEG_PATH_1="D:/software/ffmpeg/bin/ffmpeg";
    String UNKNOWN_FILE_TYPE = "未知";

    //error
    Integer IMAGE_UPLOAD_ERROR=501;
    Integer CAMERA_POSITION_ERROR=502;
    Integer SQL_GRAMMAR_ERROR=503;
    Integer FILE_NOTFOUND_ERROR=504;
    Integer NULL_POINTER_ERROR=505;
    Integer YOLO_ERROR=506;
    Integer USER_LOGIN_CODE=10001;
    Integer USER_AI_CODE=10002;
    //op
    Integer DELETE_CODE=1;
    Integer DOWNLOAD_CODE=2;
    Integer UPLOAD_CODE=3;
    Integer LOGIN_CODE=4;
    //quartz
    Integer QUARTZ_CODE=4;

    long B_TO_G=1073741824L;
    long HALF_AN_HOUR=1800000L;
    long ONE_DAY=86400000L;
    String BACKUPS_JOB_KEY="backups";
    String ONE_NET_JOB_KEY="one_net";
    String FILE_DELETE_JOB_KEY="file_delete";
    String YOLO_PROGRESS_JOB_KEY="yolo_progress";
    String LOG_DELETE_JOB_KEY="log_delete";
    String EMPTY_STRING="";
    String SPACE_STRING=" ";
    String SLASH_STRING="/";

    String SQL_DAY_FORMAT="%Y-%m-%d";
    String SQL_MONTH_FORMAT="%Y-%m";
    String AUTHORIZATION_LIST="[{\"id\":1,\"tag\":\"红外相机应用\",\"value\":null,\"parentId\":0,\"child\":[{\"id\":5,\"tag\":\"设备管理\",\"value\":null,\"parentId\":1,\"child\":[{\"id\":7,\"tag\":\"相机管理\",\"value\":\"camera\",\"parentId\":5,\"child\":[{\"id\":9,\"tag\":\"查询相机信息\",\"value\":\"camera.query\",\"parentId\":7,\"child\":null},{\"id\":10,\"tag\":\"新增相机信息\",\"value\":\"camera.add\",\"parentId\":7,\"child\":null},{\"id\":11,\"tag\":\"修改相机信息\",\"value\":\"camera.update\",\"parentId\":7,\"child\":null},{\"id\":12,\"tag\":\"删除相机信息\",\"value\":\"camera.delete\",\"parentId\":7,\"child\":null}]},{\"id\":8,\"tag\":\"相机型号管理\",\"value\":\"camera_model\",\"parentId\":5,\"child\":[{\"id\":13,\"tag\":\"查询相机型号信息\",\"value\":\"camera_model.query\",\"parentId\":8,\"child\":null},{\"id\":14,\"tag\":\"新增相机型号信息\",\"value\":\"camera_model.add\",\"parentId\":8,\"child\":null},{\"id\":15,\"tag\":\"修改相机型号信息\",\"value\":\"camera_model.update\",\"parentId\":8,\"child\":null},{\"id\":16,\"tag\":\"删除相机型号信息\",\"value\":\"camera_model.delete\",\"parentId\":8,\"child\":null}]}]},{\"id\":6,\"tag\":\"数据管理\",\"value\":null,\"parentId\":1,\"child\":[{\"id\":17,\"tag\":\"监测项目管理\",\"value\":\"watchedProjectAdmin\",\"parentId\":6,\"child\":[{\"id\":25,\"tag\":\"查询监测项目\",\"value\":\"watchedProjectAdmin.query\",\"parentId\":17,\"child\":null},{\"id\":26,\"tag\":\"新增监测项目\",\"value\":\"watchedProjectAdmin.add\",\"parentId\":17,\"child\":null},{\"id\":27,\"tag\":\"修改监测项目\",\"value\":\"watchedProjectAdmin.update\",\"parentId\":17,\"child\":null},{\"id\":28,\"tag\":\"删除监测项目\",\"value\":\"watchedProjectAdmin.delete\",\"parentId\":17,\"child\":null}]},{\"id\":18,\"tag\":\"相机位点管理\",\"value\":\"cameraPositionAdmin\",\"parentId\":6,\"child\":[{\"id\":29,\"tag\":\"查询相机位点\",\"value\":\"cameraPositionAdmin.query\",\"parentId\":18,\"child\":null},{\"id\":30,\"tag\":\"新增相机位点\",\"value\":\"cameraPositionAdmin.add\",\"parentId\":18,\"child\":null},{\"id\":31,\"tag\":\"修改相机位点\",\"value\":\"cameraPositionAdmin.update\",\"parentId\":18,\"child\":null},{\"id\":32,\"tag\":\"删除相机位点\",\"value\":\"cameraPositionAdmin.delete\",\"parentId\":18,\"child\":null}]},{\"id\":19,\"tag\":\"文件资源管理\",\"value\":\"fileSource\",\"parentId\":6,\"child\":[{\"id\":33,\"tag\":\"查询文件资源\",\"value\":\"fileSource.query\",\"parentId\":19,\"child\":null},{\"id\":34,\"tag\":\"上传文件资源\",\"value\":\"fileSource.upload\",\"parentId\":19,\"child\":null},{\"id\":35,\"tag\":\"新增文件夹\",\"value\":\"fileSource.addDir\",\"parentId\":19,\"child\":null},{\"id\":36,\"tag\":\"删除文件夹\",\"value\":\"fileSource.deleteDir\",\"parentId\":19,\"child\":null}]},{\"id\":20,\"tag\":\"影像文件管理\",\"value\":\"imgAdmin\",\"parentId\":6,\"child\":[{\"id\":37,\"tag\":\"查询影像文件\",\"value\":\"imgAdmin.query\",\"parentId\":20,\"child\":null},{\"id\":38,\"tag\":\"修改影像文件\",\"value\":\"imgAdmin.update\",\"parentId\":20,\"child\":null},{\"id\":39,\"tag\":\"删除影像文件\",\"value\":\"imgAdmin.delete\",\"parentId\":20,\"child\":null},{\"id\":40,\"tag\":\"批量导出影像文件\",\"value\":\"imgAdmin.download\",\"parentId\":20,\"child\":null},{\"id\":41,\"tag\":\"数据统计\",\"value\":\"imgAdmin.statistics\",\"parentId\":20,\"child\":null}]},{\"id\":21,\"tag\":\"鉴别信息管理\",\"value\":\"ideIfoAdmin\",\"parentId\":6,\"child\":[{\"id\":22,\"tag\":\"物种信息鉴别\",\"value\":\"imgIdentify\",\"parentId\":21,\"child\":null},{\"id\":23,\"tag\":\"浏览鉴别信息\",\"value\":\"lookIdentifyInfo\",\"parentId\":21,\"child\":null}]},{\"id\":24,\"tag\":\"基础数据管理\",\"value\":\"baseDataAdmin\",\"parentId\":6,\"child\":[{\"id\":42,\"tag\":\"查询基础数据\",\"value\":\"baseDataAdmin.query\",\"parentId\":24,\"child\":null},{\"id\":43,\"tag\":\"新增基础数据\",\"value\":\"baseDataAdmin.add\",\"parentId\":24,\"child\":null},{\"id\":44,\"tag\":\"修改基础数据\",\"value\":\"baseDataAdmin.update\",\"parentId\":24,\"child\":null},{\"id\":45,\"tag\":\"删除基础数据\",\"value\":\"baseDataAdmin.delete\",\"parentId\":24,\"child\":null}]}]}]},{\"id\":2,\"tag\":\"数据监测与分析\",\"value\":null,\"parentId\":0,\"child\":[{\"id\":46,\"tag\":\"数据分析\",\"value\":null,\"parentId\":2,\"child\":[{\"id\":47,\"tag\":\"数据可视化\",\"value\":\"dataView\",\"parentId\":46,\"child\":null},{\"id\":48,\"tag\":\"相机状态分析\",\"value\":\"cameraStatusAnalysis\",\"parentId\":46,\"child\":null},{\"id\":49,\"tag\":\"物种多样性分析\",\"value\":\"speciesDiversityAnalysis\",\"parentId\":46,\"child\":null},{\"id\":50,\"tag\":\"相对丰度分析\",\"value\":\"relativeAbundanceAnalysis\",\"parentId\":46,\"child\":null},{\"id\":51,\"tag\":\"人类活动干扰分析\",\"value\":\"humanActivityInterferenceAnalysis\",\"parentId\":46,\"child\":null}]}]},{\"id\":3,\"tag\":\"系统监控\",\"value\":null,\"parentId\":0,\"child\":[{\"id\":52,\"tag\":\"日志\",\"value\":null,\"parentId\":3,\"child\":[{\"id\":53,\"tag\":\"系统日志\",\"value\":\"systemDailyRecord\",\"parentId\":52,\"child\":[{\"id\":58,\"tag\":\"查询系统日志\",\"value\":\"systemDailyRecord.query\",\"parentId\":53,\"child\":null},{\"id\":59,\"tag\":\"清空系统日志\",\"value\":\"systemDailyRecord.clear\",\"parentId\":53,\"child\":null}]},{\"id\":54,\"tag\":\"用户操作日志\",\"value\":\"userDailyRecord\",\"parentId\":52,\"child\":[{\"id\":60,\"tag\":\"查询用户操作日志\",\"value\":\"userDailyRecord.query\",\"parentId\":54,\"child\":null},{\"id\":61,\"tag\":\"清空用户操作日志\",\"value\":\"userDailyRecord.clear\",\"parentId\":54,\"child\":null}]}]},{\"id\":55,\"tag\":\"定时任务\",\"value\":\"job\",\"parentId\":3,\"child\":[{\"id\":62,\"tag\":\"查询定时任务\",\"value\":\"job.query\",\"parentId\":55,\"child\":null},{\"id\":63,\"tag\":\"新增定时任务\",\"value\":\"job.add\",\"parentId\":55,\"child\":null},{\"id\":64,\"tag\":\"修改定时任务\",\"value\":\"job.update\",\"parentId\":55,\"child\":null},{\"id\":65,\"tag\":\"暂停/启动定时任务\",\"value\":\"job.start\",\"parentId\":55,\"child\":null},{\"id\":66,\"tag\":\"删除定时任务\",\"value\":\"job.delete\",\"parentId\":55,\"child\":null}]},{\"id\":56,\"tag\":\"数据库备份\",\"value\":\"backup\",\"parentId\":3,\"child\":[{\"id\":67,\"tag\":\"查询数据库备份\",\"value\":\"backup.query\",\"parentId\":56,\"child\":null},{\"id\":68,\"tag\":\"下载数据库备份\",\"value\":\"backup.download\",\"parentId\":56,\"child\":null},{\"id\":69,\"tag\":\"删除数据库备份\",\"value\":\"backup.delete\",\"parentId\":56,\"child\":null}]},{\"id\":57,\"tag\":\"字典管理\",\"value\":\"dictionaries\",\"parentId\":3,\"child\":null}]},{\"id\":4,\"tag\":\"权限管理\",\"value\":null,\"parentId\":0,\"child\":[{\"id\":70,\"tag\":\"用户管理\",\"value\":\"userAdmin\",\"parentId\":4,\"child\":[{\"id\":72,\"tag\":\"查询用户\",\"value\":\"userAdmin.query\",\"parentId\":70,\"child\":null},{\"id\":73,\"tag\":\"新增用户\",\"value\":\"userAdmin.add\",\"parentId\":70,\"child\":null},{\"id\":74,\"tag\":\"修改用户\",\"value\":\"userAdmin.update\",\"parentId\":70,\"child\":null},{\"id\":75,\"tag\":\"删除用户\",\"value\":\"userAdmin.delete\",\"parentId\":70,\"child\":null},{\"id\":76,\"tag\":\"重置密码\",\"value\":\"userAdmin.resetPassword\",\"parentId\":70,\"child\":null}]},{\"id\":71,\"tag\":\"角色管理\",\"value\":\"roleAdmin\",\"parentId\":4,\"child\":[{\"id\":77,\"tag\":\"查询角色\",\"value\":\"roleAdmin.query\",\"parentId\":71,\"child\":null},{\"id\":78,\"tag\":\"新增角色\",\"value\":\"roleAdmin.add\",\"parentId\":71,\"child\":null},{\"id\":79,\"tag\":\"修改角色\",\"value\":\"roleAdmin.update\",\"parentId\":71,\"child\":null},{\"id\":80,\"tag\":\"删除角色\",\"value\":\"roleAdmin.delete\",\"parentId\":71,\"child\":null}]}]}]";
    String UNDEFINED="undefined";
}
